package net.xiangcaowuyu.dubboprovider.service;

import net.xiangcaowuyu.dubbo.common.service.RpcUserService;
import org.springframework.stereotype.Service;

/**
 * 博客：https://www.xiangcaowuyu.net
 * Description:
 *
 * @Author: 香草物语
 * DateTime: 2021-07-19 19:56
 */
@Service
@com.alibaba.dubbo.config.annotation.Service(interfaceClass = RpcUserService.class)
public class RpcUserServiceImpl implements RpcUserService{

    @Override
    public boolean checkUserLogin(String userName){
        return "admin".equals(userName);
    }

}
